<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>安徽淮南新四军纪念林 - 传承红色基因，弘扬铁军精神</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="css/n1.css" />
    <link rel="stylesheet" href="css/test.css" />
    <link rel="stylesheet" href="css/hongsejiaoyu.css" />
</head>
<body>
    <!-- 头部导航 -->
    <header>
        <div class="container">
            <div class="header-content">
                <div class="logo">
                    <div class="logo-icon">
                        <i class="fa-solid fa-tree"></i>
                    </div>
                    <div class="logo-text">
                        <h1>淮南新四军纪念林</h1>
                        <span>传承红色基因，弘扬铁军精神</span>
                    </div>
                </div>
                <nav>
                    <ul>
                        <li><a href="n1.html" >首页</a></li>
                        <li><a href="jieshao - test.html">纪念林概况</a></li>
                        <li><a href="#" class="active">红色教育</a></li>
                        <li><a href="#">新闻动态</a></li>
                        <li><a href="index.html">图像资料</a></li>
                        <li><a href="#">VR体验</a></li>
                        <li><a href="vrfirst.html">全景导览</a></li>
                    </ul>
                </nav>
            </div>
        </div>
    </header>

    <!-- 主要内容区域 -->
    <main class="main-content">
        <div class="container">
            <!-- 英雄区域 -->
            <section class="hero-section">
                <div class="hero-content">
                    <h1 class="hero-title">铭记历史 缅怀先烈</h1>
                    <p class="hero-subtitle">安徽淮南新四军纪念林是全国爱国主义教育示范基地</p>
                </div>
            </section>
            <div>
                您当前的位置：
                <a href="n1.html">首页</a>
                >
                <span>红色教育</span>
            </div>
            
            <!-- 互动时间轴 -->
            <div class="timeline-container">
                <h2 class="timeline-title">红色记忆·时间轴</h2>
                <div class="timeline">
                    <div class="timeline-item" data-year="1937">
                        <div class="timeline-dot"></div>
                        <div class="timeline-content">
                            <h3>新四军成立</h3>
                            <p>1937年10月，新四军在江西南昌成立，成为南方八省红军游击队的抗日主力。</p>
                        </div>
                    </div>
                    <div class="timeline-item" data-year="1938">
                        <div class="timeline-dot"></div>
                        <div class="timeline-content">
                            <h3>淮南抗日根据地开辟</h3>
                            <p>新四军第四支队东进淮南，创建了皖东抗日根据地，成为华中抗日的重要战略支点。</p>
                        </div>
                    </div>
                    <div class="timeline-item" data-year="1941">
                        <div class="timeline-dot"></div>
                        <div class="timeline-content">
                            <h3>重建军部</h3>
                            <p>皖南事变后，新四军在盐城重建军部，继续坚持抗战，队伍发展到9万余人。</p>
                        </div>
                    </div>
                    <div class="timeline-item" data-year="1945">
                        <div class="timeline-dot"></div>
                        <div class="timeline-content">
                            <h3>抗战胜利</h3>
                            <p>经过八年浴血奋战，中国人民取得了抗日战争的伟大胜利，新四军为民族解放作出了巨大贡献。</p>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 红色教育内容 -->
            <div class="main-content-area">
                <div class="main-section">
                    <h2>红色教育的重要性</h2>
                    <p class="main-paragraph">
                        红色教育是一场穿越时空的对话，让我们与革命先辈的热血与理想相遇。
                        <span class="highlight-text">它不仅是历史课，更是精神的洗礼；不仅是讲故事，更是信念的传承。</span>
                        通过红色教育，我们能触摸到真实的历史脉搏，感受到革命先辈在艰苦岁月中坚守的初心。
                    </p>
                    <div class="fact-box">
                        <div class="fact-icon"><i class="fa-solid fa-lightbulb"></i></div>
                        <div class="fact-text">
                            <p>你知道吗？淮南新四军纪念林每年接待超过20万人次的参观者，其中60%是青少年学生！</p>
                        </div>
                    </div>
                </div>


                <div class="main-section">
                    <h2>真实英雄故事</h2>
                    <p class="main-paragraph">
                        每一段红色记忆背后，都是一个个鲜活的生命和感人至深的故事。
                    </p>
                    
                    <div class="story-slider">
                        <div class="story-card active">
							<a href="gushi1.html">
                            <div class="story-img"><img src="img2/叶挺独立团.png" alt="战斗英雄故事配图"></div>
                            </a>
							<h3>革命先驱叶挺：铁骨铸就救国魂</h3>
                            <p>
                                叶挺将军是中国人民解放军的缔造者之一，在北伐战争中任国民革命军第四军独立团团长，作战勇猛、屡破强敌...
                            </p>
                        </div>
                        <div class="story-card">
							<a href="gushi3.html">
                            <div class="story-img"><img src="img2/张泽国2.png" alt="战斗英雄故事配图"></div>
							</a>
                            <h3>铁血战士张泽国：丹心永照淮南天</h3>
                            <p>
                                1944年冬，淮南抗日根据地占鸡岗战役打响。新四军将士与日伪军展开殊死搏斗，时任县大队教导员的张泽国身先士卒...
                            </p>
                        </div>
                        <div class="story-card">
							<a href="wgushi2.html">
                            <div class="story-img"><img src="img2/项英3.jpg" alt="战斗英雄故事配图"></div>
							</a>
                            <h3>抗战先驱项英：铁肩扛鼎救国任</h3>
                            <p>
                                项英同志是中国共产党的忠诚战士、新四军的重要领导人，他毕生献身革命，在艰苦卓绝的斗争中铸就了不朽的军魂...
                            </p>
                        </div>
                        <div class="story-nav">
                            <button class="prev-btn"><i class="fa-solid fa-chevron-left"></i></button>
                            <button class="next-btn"><i class="fa-solid fa-chevron-right"></i></button>
                        </div>
                    </div>
                </div>

                <div class="main-section">
                    <h2>红色教育成果</h2>
                    <p class="main-paragraph">
                        红色教育不仅是回顾历史，更是激励未来。近年来，纪念林的教育活动取得了显著成效：
                    </p>
                    
                    <div class="stats-grid">
                        <div class="stat-card">
                            <div class="stat-number">98%</div>
                            <div class="stat-text">青少年表示深受教育，增强了爱国情怀</div>
                        </div>
                        <div class="stat-card">
                            <div class="stat-number">35+</div>
                            <div class="stat-text">与周边学校建立长期合作，成为固定研学基地</div>
                        </div>
                        <div class="stat-card">
                            <div class="stat-number">12</div>
                            <div class="stat-text">红色教育课程被评为省级优秀教学案例</div>
                        </div>
                        <div class="stat-card">
                            <div class="stat-number">15万+</div>
                            <div class="stat-text">线上红色教育内容点击量，辐射全国更多人群</div>
                        </div>
                    </div>
                </div>
                
                <!-- 互动问答 -->
                <div class="quiz-container">
                    <h2>考考你：红色知识小测验</h2>
                    <div class="quiz-question">
                        <p>1. 新四军成立于哪一年？</p>
                        <div class="quiz-options">
                            <label><input type="radio" name="q1" value="A"> A. 1935年</label>
                            <label><input type="radio" name="q1" value="B"> B. 1937年</label>
                            <label><input type="radio" name="q1" value="C"> C. 1941年</label>
                        </div>
                    </div>
                    <div class="quiz-question">
                        <p>2. 新四军军部重建地是？</p>
                        <div class="quiz-options">
                            <label><input type="radio" name="q2" value="A"> A. 南昌</label>
                            <label><input type="radio" name="q2" value="B"> B. 盐城</label>
                            <label><input type="radio" name="q2" value="C"> C. 延安</label>
                        </div>
                    </div>
                    <button class="submit-quiz-btn">提交答案</button>
                    <div class="quiz-result hidden"></div>
                </div>
            </div>
        </div>
    </main>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-column">
                    <h3>关于我们</h3>
                    <p>安徽淮南新四军纪念林是重要的爱国主义教育基地，致力于传承红色基因，弘扬铁军精神，教育引导广大干部群众特别是青少年坚定理想信念。</p>
                    <div class="social-links">
                        <a href="#" class="social-link"><i class="fab fa-weixin"></i></a>
                        <a href="https://www.xiaohongshu.com/user/profile/667cccac000000000d02424e?xsec_token=ABqWqmJ9aZ8qBd8jYm0hQfE8EOnlPgE4cpDClvwD-HF6s%3D&xsec_source=pc_search" class="social-link"><i class="fa-solid fa-book-open"></i></a>
                        <a href="https://weibo.com/u/7806505011" class="social-link"><i class="fab fa-weibo"></i></a>
                        
                        <a href="https://v.douyin.com/awRgePr-hU8/" class="social-link"><i class="fab fa-tiktok"></i></a>
                        <a href="https://www.kuaishou.com/profile/3x6qpmerx53kixs" class="social-link"><i class="fa-solid fa-bolt"></i></a>
                    </div>
                </div>

                <div class="footer-column">
                    <h3>快速链接</h3>
                    <ul class="footer-links">
                    	<li><a href="n1.html">首页</a></li>
                    	<li><a href="jieshao - test.html">纪念林介绍</a></li>
                    	<li><a href="index.html">历史展览</a></li>
                    	<li><a href="yuanquguihua.html">参观指南</a></li>
                    	<li><a href="#">新闻公告</a></li>
                    </ul>
                </div>

                <div class="footer-column">
                    <h3>联系方式</h3>
                    <ul class="footer-links">
                        <li><i class="fa-solid fa-location-dot"></i> 地址：安徽省淮南市上窑镇</li>
                        <li><i class="fab fa-qq"></i> QQ:3665284546</li>
                        <li><i class="fa-solid fa-clock"></i> 开放时间：周二至周日 9:00-17:00</li>
                    </ul>
                </div>
            </div>

            <div class="copyright">
                <p> &copy; 2025 安徽淮南新四军纪念林 版权所有 </p>
            </div>
        </div>
    </footer>
    <script>
        // 互动时间轴
        document.querySelectorAll('.timeline-item').forEach(item => {
            item.addEventListener('mouseenter', () => {
                item.classList.add('active');
            });
            item.addEventListener('mouseleave', () => {
                item.classList.remove('active');
            });
        });

        // 展开更多按钮
        document.querySelectorAll('.read-more-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                const card = this.closest('.experience-card');
                const hiddenText = card.querySelector('.hidden-text');
                const originalText = this.textContent;
                
                if (hiddenText.classList.contains('expanded')) {
                    hiddenText.classList.remove('expanded');
                    this.textContent = originalText.replace('收起', '展开');
                } else {
                    hiddenText.classList.add('expanded');
                    this.textContent = originalText.replace('展开', '收起');
                }
            });
        });

        // 故事滑块
        let currentStory = 0;
        const storyCards = document.querySelectorAll('.story-card');
        const totalStories = storyCards.length;

        document.querySelector('.next-btn').addEventListener('click', () => {
            storyCards[currentStory].classList.remove('active');
            currentStory = (currentStory + 1) % totalStories;
            storyCards[currentStory].classList.add('active');
        });

        document.querySelector('.prev-btn').addEventListener('click', () => {
            storyCards[currentStory].classList.remove('active');
            currentStory = (currentStory - 1 + totalStories) % totalStories;
            storyCards[currentStory].classList.add('active');
        });

        // 测验提交
        document.querySelector('.submit-quiz-btn').addEventListener('click', function() {
            const answers = {
                q1: 'B',
                q2: 'B'
            };
            let score = 0;
            
            Object.keys(answers).forEach(question => {
                const selectedOption = document.querySelector(`input[name="${question}"]:checked`);
                if (selectedOption && selectedOption.value === answers[question]) {
                    score++;
                }
            });
            
            const resultElement = document.querySelector('.quiz-result');
            resultElement.textContent = `恭喜！你答对了 ${score} 题，共 ${Object.keys(answers).length} 题。`;
            resultElement.classList.remove('hidden');
        });

        // 搜索功能
        document.addEventListener('DOMContentLoaded', () => {
            const searchInput = document.querySelector('.search-input');
            const searchForm = document.querySelector('.search-form');
            const SEARCH_ENGINE = 'https://www.bing.com/search?q=';

            if (!searchForm || !searchInput) {
                console.error('元素选择器错误！');
                return;
            }

            searchForm.addEventListener('submit', function(e) {
                e.preventDefault();
                const keyword = searchInput.value.trim();

                console.log('原始输入:', keyword);

                if (!keyword) {
                    searchInput.style.border = '2px solid red';
                    return;
                }

                const encodedKeyword = encodeURIComponent(keyword);
                const targetUrl = `${SEARCH_ENGINE}${encodedKeyword}`;

                console.log('目标URL:', targetUrl);

                try {
                    const link = document.createElement('a');
                    link.href = targetUrl;
                    link.rel = 'noopener noreferrer';
                    link.click();
                } catch (err) {
                    console.error('跳转错误:', err);
                    window.open(targetUrl, '_blank');
                }
            });
        });
    </script>
</body>
</html>